home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DS-CD ROM 2 1993 August
/
DS CD-ROM 2.Ausgabe (August 1993).iso
/
utility
/
ds0499
/
freeware.exe
/
TOOLS
/
WHEREIS.DOC
< prev
next >
Wrap
Text File
|
1993-03-01
|
1KB
|
40 lines
WhereIs, (C)opyright 27.10.91-93 by Ralph Roth, Finkenweg 24, D 7214 Zimmern
----------------------------------------------------------------------------
WhereIs is distributed as Freeware (Bannerware)
Usage: WHEREIS file1.ext [file2.ext] [file...] [>NUL]
------
WHEREIS file.* (searches for file.com, file.exe, file.bat
file.txt, file.sys and file.doc!)
Synopsis:
WhereIs locates for specified files and prints the path where
the files can be found. WhereIs attempts to locate the desired
files in a list of standard places (declared by the environment
variable PATH). WARNING: Requires DOS Version 3.0 or higher!
The DOS Exitstatus (ERRORLEVEL) is modified by WHEREIS.EXE:
■ 0 Last file exists.
■ 1 Last file DOESN'T exists.
■ 2 No parameters spezified!
EXAMPLE:
--------
@echo off
whereis %1 >NUL
if errorlevel=1 goto error
echo %1 exists!
goto end
:error
echo %1 DOESN'T exists!
:end